<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<title>学院管理</title>
	<layuicss/>
	<link rel="stylesheet" href="__PUBLIC__/static/css/global.css" media="all">
	<link rel="stylesheet" href="__PUBLIC__/static/css/collegeList.css" />
</head>
<body>

	<div class="admin-main">

			<blockquote class="layui-elem-quote">
				<a href="javascript:;" class="layui-btn layui-btn-small add">
					<i class="layui-icon">&#xe608;</i> 添加学院
				</a>
				<div class="layui-input-block" style="display: inline-block;margin-left: 30px; min-height: inherit; vertical-align: bottom;">
					<div class="layui-form-pane">
					<label class="layui-form-label" style="padding: 4px 15px;">时间范围</label>
					<div class="layui-input-inline">
				      <input class="layui-input" placeholder="开始日期" id="beginDate" name="beginDate" style="height:30px; line-height:30px;"  value="{$beginDate|default=''}" readonly="true">
				    </div>
				    <div class="layui-input-inline">
				      <input class="layui-input" placeholder="结束日期" id="endDate" name="endDate" style="height:30px; line-height:30px;" value="{$endDate|default=''}" readonly="true">
				    </div>
					</div>
				</div>
				<div class="layui-input-block" style="display: inline-block; margin-left: 30px; min-height: inherit; vertical-align: bottom;">
					<input type="text" name="keyword" id="keyword" required lay-verify="keyword" class="layui-input" autocomplete="off" placeholder="请输入搜索关键词" style="height: 30px; line-height: 30px;" value="{$keyword|default=''}">
				</div>
				<a href="javascript:;" class="layui-btn layui-btn-small" id="search">
					<i class="layui-icon">&#xe615;</i> 搜索
				</a>
				<a href="javascript:;" class="layui-btn layui-btn-small" id="searchAll">
					<i class="layui-icon">&#xe615;</i> 查看全部
				</a>
			</blockquote>
			<fieldset class="layui-elem-field">
				<legend>学院列表</legend>
				<div class="layui-field-box">
					<table class="site-table table-hover">
						<thead>
							<tr>
								<th>学院编号</th>
								<th>学院名称</th>
								<th>负责人姓名</th>
								<th>负责人电话</th>
								<th>创建时间</th>
								<th>备注</th>
								<th>操作</th>
							</tr>
						</thead>
						<tbody>
							<volist name="collegeList" id="vo">
							<tr>
								<td>{$vo.id}</td>
								<td>{$vo.name}</td>
								<td>{$vo.leadername}</td>
								<td>{$vo.leaderphone}</td>
								<td>{$vo.create_date}</td>
								<td>{$vo.comment|default='无'}</td>
								<td>
									<a href="javascript:;" data-id="{$vo.id}" class="layui-btn layui-btn-mini edit">编辑</a>
									<a href="javascript:;" data-id="{$vo.id}" data-opt="del" class="layui-btn layui-btn-danger layui-btn-mini del">删除</a>
								</td>
							</tr>
							</volist>
						</tbody>
					</table>
				</div>
			</fieldset>
			<div class="admin-table-page">
				<div id="page" class="page">
			</div>
			</div>
	</div>
	<layuijs/>
	<script type="text/javascript">
		var editurl = "{:U('Home/CollegeMgr/editCollege')}";
		var listurl = "{:U('Home/CollegeMgr/collegeList')}";
		var deleteurl = "{:U('Home/CollegeMgr/deleteCollege')}";
		var rooturl = "__ROOT__/";
		var pages = {$pages};
		var curr = {$requestPage};
		var keyword = "{$keyword}";
		var beginDate = "{$beginDate}";
		var endDate = "{$endDate}";
	</script>
	<script type="text/javascript" src="__PUBLIC__/static/js/collegeList.js"></script>
	
</body>
</html>